package com.emotion.sshticket.services;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.emotion.sshticket.dao.FrontDAO;
import com.emotion.sshticket.vo.TicketVO;

@Service("frontService")
public class FrontService {
	@Resource(name="frontDAO")
	private FrontDAO frontDAO;

	public int getCheckDuplacateCount(String userEmail) throws Exception {
		return frontDAO.getCheckDuplacateCount(userEmail);
	}

	public void insertTicketingInfo(TicketVO ticketVO) throws Exception {
		frontDAO.insertTicketingInfo(ticketVO);
	}
}
